package com.wl.application.feign.api;

import com.wl.application.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author wl
 * @version 1.0
 * @date 2022/8/1
 * @description:
 */
@FeignClient(value = "seata-server02",path = "/user")
public interface UserApi2 {
    @PostMapping("/save")
     String save(@RequestBody User user);
}
